package com.uphone.kingmall.bean;

import java.util.List;

public class GetVipRewardsBean {

    /**
     * msg : ok
     * code : 0
     * data : {"totalReward":289,"rewards":[{"userId":2,"userName":"小米","userPhoto":"","userMobile":"","money":20}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalReward : 289
         * rewards : [{"userId":2,"userName":"小米","userPhoto":"","userMobile":"","money":20}]
         */

        private double totalReward;
        private List<RewardsBean> rewards;

        public double getTotalReward() {
            return totalReward;
        }

        public void setTotalReward(double totalReward) {
            this.totalReward = totalReward;
        }

        public List<RewardsBean> getRewards() {
            return rewards;
        }

        public void setRewards(List<RewardsBean> rewards) {
            this.rewards = rewards;
        }

        public static class RewardsBean {
            /**
             * userId : 2
             * userName : 小米
             * userPhoto :
             * userMobile :
             * money : 20
             */

            private int userId;
            private String userName;
            private String userPhoto;
            private String userMobile;
            private double money;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserPhoto() {
                return userPhoto;
            }

            public void setUserPhoto(String userPhoto) {
                this.userPhoto = userPhoto;
            }

            public String getUserMobile() {
                return userMobile;
            }

            public void setUserMobile(String userMobile) {
                this.userMobile = userMobile;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }
        }
    }
}
